<template>
	<view>
		<cu-custom bgColor="bg-gradual-fff">
			<block slot="content">提交完成</block> 
		</cu-custom>
		<u-loading-page :loading="true" loading-text="loading..." v-if="showLoading"></u-loading-page>
		<view v-show="!showLoading">
			<view class="viewbox"></view>
			<view class="order_curriculum_details">
				<view class="order_curriculum_details_a">
					<u-icon name="checkmark-circle-fill" color="#CC8FBD" size="60"></u-icon>
				</view>
				<view class="order_curriculum_details_b">提交完成</view>
				<view class="order_curriculum_details_c">等待工作人员联系</view>
				<view class="order_curriculum_details_d">
					<view class="order_curriculum_details_d_a" @click="OrderPage">查看订单</view>
					<view class="order_curriculum_details_d_b" @click="HomePage">返回首页</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
import request from '@/common/request.js';	
import {
	loadingType
} from '@/utils/type';
export default {
	data() {
		return {
			showLoading:false,
			order_sn:''
		}
	},
	onLoad: function(options) {
		this.order_sn =options.order_sn??'';
	},
	onShow(){
		this.uid=uni.getStorageSync('uid');
	},
	methods: {
		HomePage(){
			uni.reLaunch({
				url: '/pages/home/vendor'
			})
		},
		OrderPage(){
			uni.redirectTo({
				url: '/pages/curriculum_order/order_details?order_sn=' + this.order_sn
			})
		}
	}
}
</script>

<style  lang="scss" scoped>
	.order_curriculum_details{
		box-shadow: inset 0 0 20rpx 20rpx rgba(85, 56, 105, 0.6);
		width: 710rpx;
		height: auto;
		overflow: hidden;
		margin: auto;
		margin-top: 50rpx;
		padding: 65rpx;
	}
	.order_curriculum_details_a{
		width: 60px;
		height: 60px;
		margin: auto;
	}
	.order_curriculum_details_b{
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		line-height: 40rpx;
		text-align: center;
	}
	.order_curriculum_details_c{
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		line-height: 40rpx;
		text-align: center;
	}
	.order_curriculum_details_d{
		height: 70rpx;
		margin: auto;
		margin-top: 40rpx;
		width:440rpx;
	}
	.order_curriculum_details_d_a{
		width: 204rpx;
		height: 70rpx;
		background: #FF00B4;
		border-radius: 35rpx;
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		line-height: 70rpx;
		text-align: center;
		float: left;
	}
	.order_curriculum_details_d_b{
		width: 204rpx;
		height: 70rpx;
		border-radius: 35rpx;
		border: 1rpx solid #FF3CC6;
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FF00B4;
		line-height: 63rpx;
		text-align: center;
		float: left;
		margin-left: 20rpx;
	}
</style>
